package {
	import flash.display.Sprite;	
	
	/**
	 * @author yao
	 */
	public class BitmapTextFieldTest extends Sprite {

		public function BitmapTextFieldTest() {
			
			var btf:BitmapTextField = new BitmapTextField();
			addChild(btf);
			btf.width =100;
			btf.height =100;
			btf.x = 200;
			btf.y = 200;
			btf.wordWrap = true;
			btf.multiline = true;
			btf.text = "周杰伦首都师大是打发斯蒂芬";
			btf.textColor = 0xff0000;
			btf.scaleY = -1;
			//btf.update();
			/*
			var btf:BitmapTextField = new BitmapTextField();
			btf.width =100;
			btf.height =100;
			btf.x = 200;
			btf.y = 200;
			btf.text = "hello";
			btf.textColor = 0xff0000;
			addChild(btf);
			
			btf.scaleY = -1;
			btf.text = "哈哈";
			btf.rotation = 45;
			btf.alpha = 0.5;
			btf.border = true;
			btf.wordWrap = true;
			btf.multiline = true;
			 */
		}
	}
}
